package com.woniu.supermarket.entity;

import java.math.BigDecimal;

public class SalesReturnDetail {
    private Integer id;

    private String salesReturnDetailNumber;

    private Integer salesReturnId;

    private Integer goodsId;

    private BigDecimal price;

    private Integer quantity;

    private Integer unitId;

    private BigDecimal total;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSalesReturnDetailNumber() {
        return salesReturnDetailNumber;
    }

    public void setSalesReturnDetailNumber(String salesReturnDetailNumber) {
        this.salesReturnDetailNumber = salesReturnDetailNumber == null ? null : salesReturnDetailNumber.trim();
    }

    public Integer getSalesReturnId() {
        return salesReturnId;
    }

    public void setSalesReturnId(Integer salesReturnId) {
        this.salesReturnId = salesReturnId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Integer getUnitId() {
        return unitId;
    }

    public void setUnitId(Integer unitId) {
        this.unitId = unitId;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }
}